package com.ren.service.core.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author RenGaoshuai
 * @date 2023/8/9 9:35
 * @description
 */
@Data
public class UserInfoLockReqVO implements Serializable {

    @ApiModelProperty(value = "用户id")
    @NotNull(message = "用户id不能为空")
    private Long id;

    /**
     * 0锁定 1解锁
     */
    @ApiModelProperty(value = "状态，0锁定 1解锁")
    @NotNull(message = "状态不能为空")
    @Min(value = 0,message = "状态入参不符合要求")
    @Max(value = 1,message = "状态入参不符合要求")
    private Integer status;


}
